package com.xxx.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateOrderStateDto {
    @NotEmpty(message = "订单号不能为空")
    private String orderNo;

    @NotEmpty(message = "支付状态不能为空")
    private Integer statusOrder;

    @NotNull(message = "支付时间不能为空")
    private Date updateTime;
}
